package com.feng.tasks;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//开启定时功能注解
@EnableScheduling
//开启异步任务
@EnableAsync
@SpringBootApplication
public class Kuang07OthertasksApplication {

	public static void main(String[] args) {
		SpringApplication.run(Kuang07OthertasksApplication.class, args);
	}

}
